package com.jrx.anytxn.feign.gateway.response;

import com.jrx.anytxn.feign.gateway.bean.BaseApiResponse;
import com.jrx.anytxn.feign.gateway.bean.Card;

import java.math.BigDecimal;
import java.util.List;

/**
 * ClassName CouponResponse05
 *
 * @author lujianyou
 * @version 1.0
 * @description 卡券-场景端 2.5 下单响应实体
 * @date 2021/5/29 19:14
 **/
public class CouponResponse05 extends BaseApiResponse {
    /**
     * 权益系统的订单ID
     */
    private String id;
    /**
     * 场景id
     */
    private String sceneId;
    /**
     * 场景订单id
     */
    private String sceneOrderId;
    /**
     * 权益id
     */
    private String couponId;
    /**
     * 权益名称
     */
    private String couponName;
    /**
     * 购买数量
     */
    private Integer buyQuantity;
    /**
     * 单价,精度[2]
     */
    private BigDecimal unitPrice;
    /**
     * 总价,精度[2]
     */
    private BigDecimal totalPrice;
    /**
     * 订单类型
     * 0：卡密商品下单；
     * 1：直充商品下单；
     * 2：话费商品下单；
     * 3：代金券权益下单；
     * 4：折扣券权益下单
     */
    private String orderType;
    /**
     * 客户身份指纹
     */
    private String customerFingerprint;
    /**
     * 客户手机号
     */
    private String customerPhone;
    /**
     * 充值账号（当orderType=1时有值）
     */
    private String chargeAccount;
    /**
     * 订单状态
     */
    private String orderState;
    /**
     * 下单时间
     */
    private String orderCreateTime;
    /**
     * 下单完成时间
     */
    private String orderCompleteTime;
    /**
     * appid
     */
    private String appId;
    /**
     * appSn
     */
    private String appSn;
    private Integer couponCate;

    private List<Card> cards;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSceneId() {
        return sceneId;
    }

    public void setSceneId(String sceneId) {
        this.sceneId = sceneId;
    }

    public String getSceneOrderId() {
        return sceneOrderId;
    }

    public void setSceneOrderId(String sceneOrderId) {
        this.sceneOrderId = sceneOrderId;
    }

    public String getCouponId() {
        return couponId;
    }

    public void setCouponId(String couponId) {
        this.couponId = couponId;
    }

    public String getCouponName() {
        return couponName;
    }

    public void setCouponName(String couponName) {
        this.couponName = couponName;
    }

    public Integer getBuyQuantity() {
        return buyQuantity;
    }

    public void setBuyQuantity(Integer buyQuantity) {
        this.buyQuantity = buyQuantity;
    }

    public BigDecimal getUnitPrice() {
        return unitPrice;
    }

    public void setUnitPrice(BigDecimal unitPrice) {
        this.unitPrice = unitPrice;
    }

    public BigDecimal getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(BigDecimal totalPrice) {
        this.totalPrice = totalPrice;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public String getCustomerFingerprint() {
        return customerFingerprint;
    }

    public void setCustomerFingerprint(String customerFingerprint) {
        this.customerFingerprint = customerFingerprint;
    }

    public String getCustomerPhone() {
        return customerPhone;
    }

    public void setCustomerPhone(String customerPhone) {
        this.customerPhone = customerPhone;
    }

    public String getChargeAccount() {
        return chargeAccount;
    }

    public void setChargeAccount(String chargeAccount) {
        this.chargeAccount = chargeAccount;
    }

    public String getOrderState() {
        return orderState;
    }

    public void setOrderState(String orderState) {
        this.orderState = orderState;
    }

    public String getOrderCreateTime() {
        return orderCreateTime;
    }

    public void setOrderCreateTime(String orderCreateTime) {
        this.orderCreateTime = orderCreateTime;
    }

    public List<Card> getCards() {
        return cards;
    }

    public void setCards(List<Card> cards) {
        this.cards = cards;
    }

    public String getOrderCompleteTime() {
        return orderCompleteTime;
    }

    public void setOrderCompleteTime(String orderCompleteTime) {
        this.orderCompleteTime = orderCompleteTime;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getAppSn() {
        return appSn;
    }

    public void setAppSn(String appSn) {
        this.appSn = appSn;
    }

    public Integer getCouponCate() {
        return couponCate;
    }

    public void setCouponCate(Integer couponCate) {
        this.couponCate = couponCate;
    }

    @Override
    public String toString() {
        return "CouponResponse05{" +
                "id='" + id + '\'' +
                ", sceneId='" + sceneId + '\'' +
                ", sceneOrderId='" + sceneOrderId + '\'' +
                ", couponId='" + couponId + '\'' +
                ", couponName='" + couponName + '\'' +
                ", buyQuantity=" + buyQuantity +
                ", unitPrice=" + unitPrice +
                ", totalPrice=" + totalPrice +
                ", orderType='" + orderType + '\'' +
                ", customerFingerprint='" + customerFingerprint + '\'' +
                ", customerPhone='" + customerPhone + '\'' +
                ", chargeAccount='" + chargeAccount + '\'' +
                ", orderState='" + orderState + '\'' +
                ", orderCreateTime='" + orderCreateTime + '\'' +
                ", orderCompleteTime='" + orderCompleteTime + '\'' +
                ", appId='" + appId + '\'' +
                ", appSn='" + appSn + '\'' +
                ", couponCate=" + couponCate +
                ", cards=" + cards +
                '}';
    }
}


